package model;

public class PluginCleanerFactory {

	private static PluginCleanerFactory aPluginCleanerFactory;

	private PluginCleaner aPluginCleaner;

	public static PluginCleanerFactory getInstance() {
		if (aPluginCleanerFactory == null) {
			aPluginCleanerFactory = new PluginCleanerFactory();
		}

		return aPluginCleanerFactory;
	}

	protected PluginCleanerFactory() {
		// should not get in here
	}

	public PluginCleaner getPluginCleaner() {
		if(aPluginCleaner == null){
			aPluginCleaner = new PluginCleaner();
		}
		
		return aPluginCleaner;
	}
}
